const game = [
  {
    path: '/home/:id',
    redirect: '/home/:id/info'
  },
  {
    path: '/home/:id/info', // 联赛主页
    component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/index'),
    hidden: true,
    children: [
      {
        path: '', // 参赛数据
        name: 'GameInfo',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/info'),
        hidden: true
      },
      {
        path: 'substation', // 分站赛
        name: 'Substation',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/substation'),
        hidden: true
      },
      {
        path: 'mechanism', // 参赛机构
        name: 'Mechanism',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/mechanism'),
        hidden: true
      },
      {
        path: 'player', // 参赛选手
        name: 'Player',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/player'),
        hidden: true
      },
      // {
      //   path: 'popularity', // 人气榜
      //   name: 'Popularity',
      //   component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/popularity'),
      //   hidden: true
      // },
      // {
      //   path: 'integral', // 积分榜
      //   name: 'Integral',
      //   component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/integral'),
      //   hidden: true
      // },
      {
        path: 'official', // 教练领队榜
        name: 'Official',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/official'),
        hidden: true
      },
      {
        path: 'division', // 赛区榜
        name: 'Division',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/division'),
        hidden: true
      },
      {
        path: 'area', // 区域榜
        name: 'Area',
        component: () => import(/* webpackChunkName: "common" */ '@/views/home/league/game/area'),
        hidden: true
      }
    ]
  }
];

export default game;
